package com.smedi.ismedi.inmail.core.domain.aggregatemodel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TaskRecord {
    private Long id;

    private Integer version;

    private String sourceFrom;

    private Long sourceFromId;

    private Long sponsorId;

    private String sponsorName;

    private List<String> oldStatus;

    private String taskType;


    private String taskName;

    /**
     * 任务描述
     */
    private String taskDescribe;

    /**
     * 项目ID
     */
    private Long projectId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 处理人ID
     */
    private Long dealPersonId;

    /**
     * 处理人姓名
     */
    private String dealPersonName;

    /**
     * 抄送人
     */
    private String noticePersonIds;

    /**
     * 状态
     */
    private String taskStatus;

    private Boolean taskRead;

    private LocalDateTime createdDate;

    private LocalDateTime startTime;

    /**
     * 开始时间
     */
    private LocalDateTime taskTime;

    /**
     * 截至时间
     */
    private LocalDateTime expireTime;

    /**
     * 结束时间
     */
    private LocalDateTime finishTime;
}
